// 把components中的所组件都进行全局化注册
// 通过插件的方式
import Upload from './upLoad/index.vue'
import Header from './Header.vue'
import YTable from './YTable.vue'
export const componentPlugin = {
    install(app: any) {
        // app.component('组件名字'，组件配置对象)
        app.component('Upload', Upload)
        app.component('Header', Header)
        app.component('YTable', YTable)
    }
}